package Main;

import Model.ImageModel;
import View.MainFrame;

import javax.swing.*;
import java.io.PrintStream;


public class Main {
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(
                    UIManager.getSystemLookAndFeelClassName());
            //System.setErr(new PrintStream("err.txt"));
            //System.setOut(new PrintStream("out.txt"));
        } catch (Exception e) {
            System.out.println("Look&feel setting exception: " + e);
        }
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new MainFrame(new ImageModel());
            }
        });
    }
}
